<template>
  <div class="qiyedataone" >
    <div class="qyetopwei">
        <van-image
  width="190px"
  height="160px"
  fit="contain"
  :src="require('../assets/e23b0be8acec7ea16e8ec24f16af623.png')"
/>
    </div>
    <div class="databomqiye">
        <div >
            <van-uploader class="databomqiyetop">
  <van-button style="width:120px;" icon="plus" >上传头像</van-button>
</van-uploader>
        </div>
    <div>
        <van-form @submit="onSubmit">
  <van-field
    v-model="username"
    name="公司名称"
    label="公司名称"
    placeholder="公司名称"
    :rules="[{ required: true, message: '请填写公司名称' }]"
  />
  <van-field
    v-model="password"
    type="onenubm"
    name="联系人"
    label="联系人"
    placeholder="联系人"
    :rules="[{ required: true, message: '请填写联系人' }]"
  />
  <van-field
    v-model="nubm"
    type="nubm"
    name="电话"
    label="电话"
    placeholder="电话"
    :rules="[{ required: true, message: '请填写电话' }]"
  />
  <van-field
    v-model="titerld"
    type="titerld"
    name="公司类型"
    label="公司类型"
    placeholder="公司类型"
    :rules="[{ required: true, message: '请填写公司类型' }]"
  />
  <div style="margin: 16px;">
    <van-button round block type="info" native-type="submit">确认</van-button>
  </div>
</van-form>
    </div>
    </div>
  </div>
</template>
<script>
export default {
  name: '',
  data () {
    return {
      username: '',
      password: '',
      nubm: '',
      titerld: '',
      onenubm: ''
    }
  },
  methods: {

    onSubmit (values) {
      this.$router.push('/shouye')
    }
  }
}
</script>
<style lang="less">
*{
  margin: 0;
  padding: 0;
  border-top:1px solid transparent

}
.qiyedataone{
    width: 100%;
  height: 667px;
  background-color: #29a8e3;
  .qyetopwei{
     // top: 450px;
     margin: auto;
    width: 230px;
    height:160px;
    padding-top :20px;
    // background-color: pink;
    // img{
    //     width: 100%;
    //     height: 100%;
    // }
  }
  .databomqiye{
    width: 300px;
height: 430px;
border-radius: 5%;
  // margin-top: 220px;
  background-color: #fff;
  margin: auto;
.databomqiyetop{
    width: 50px;
    height: 50px;
    // padding-top: 30px;
    margin-bottom: 30px;
    top: 20px;
    left: -30px;
    // margin: auto;
    // background-color: pink;
border-radius: 50%;
}

}
}
</style>
